package com.da.javatest.design.schema.visitor;

public class Man extends Person {
    Man(String name) {
        super(name);
    }

    @Override
    public void accept(Action action) {
        action.getManResult(this);
    }
}
